package com.techshine.entity;
import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
/** 
 * 说明：新闻 实体类
 * 创建时间：2024-04-18
 */
public class News  implements Serializable{ 
	private Integer id;//
	private String name;//标题
	private String code;//摘要
	private String imgurl;//缩略图
	private String htmlval;//
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	private Date createtime;//
	private Integer newtype;//1新闻，2通知
	private Integer seq;//
	private Integer status;//状态1提交2发布
	
	private static final long serialVersionUID = 1L;//序列化
	private Integer page = 1;//
	private Integer limit = 10;
	private Integer count = 1;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getImgurl() {
		return imgurl;
	}
	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}
	public String getHtmlval() {
		return htmlval;
	}
	public void setHtmlval(String htmlval) {
		this.htmlval = htmlval;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public Integer getNewtype() {
		return newtype;
	}
	public void setNewtype(Integer newtype) {
		this.newtype = newtype;
	}
	public Integer getSeq() {
		return seq;
	}
	public void setSeq(Integer seq) {
		this.seq = seq;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getLimit() {
		return limit;
	}
	public void setLimit(Integer limit) {
		this.limit = limit;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}

}
